package com.hntxk.cqzd.diagnosis.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hntxk.core.constant.CoreConstants;
import com.hntxk.core.framework.model.BaseModel;
import com.hntxk.core.lang.annotation.Id;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 诊断结果
 * @author a
 */
@Setter
@Getter
public class DiagnosisInfo extends BaseModel implements Serializable {

  private static final long serialVersionUID = 6305455932097492335L;

  @Id
  private Long diagnosisId;
  private Long diacrisisId;
  private Long inspectionItemId;
  private String inspectionItem;
  @DateTimeFormat(pattern = CoreConstants.DATE_FORMAT)
  @JsonFormat(pattern=CoreConstants.DATE_FORMAT)
  private Date inspectionTime;
  private Long afTypeId;
  private String afTypeName;
  private String inspectionProcess;
  private String inspectionRemark;
  private String fetusSign;
  @JsonProperty("bSign")
  private String bSign;
  private String puncturePosition;
  private String mazaPosition;
  private String sampleQuantity;
  private Long createUserId;
  private String createUserName;
  @DateTimeFormat(pattern = CoreConstants.DATETIME_FORMAT)
  private Date createTime;
  private Long updateUserId;
  private String updateUserName;
  @DateTimeFormat(pattern = CoreConstants.DATETIME_FORMAT)
  private Date updateTime;
  //判断信息
  private Integer diagnosisStatus;
  /**
   * 标本留存ID 逗号分隔
   */
  private String specKeepId;
  private String specKeepName;
  /**
   * 诊断结果的检查结果
   */
  private List<DiagnosisFruit> diagnosisFruit;

}
